<?php
interface B2b_Models_Interface_Gallery
{
    /**
    * Add source between enterprise and set
    * @param B2b_Models_Gallery $gallery
    * @return void
    **/
    public function add($gallery);

    /**
     * Get set information
     * @param: int $id Id of enterprise
     * @return: Tomato_Model_Recordset
    **/
    public function getSetInfo($id, $offset = null, $count = null);

    /**
     * Count gallery by id
     * @param int $id Id of enterprise
     * @return int
    **/
    public function count($id);

    /**
    * Update representative image for set
    * @param Multimedia_Models_Set $set
    * @return void
    **/
    public function updateSet($set);

    /**
    * Update set info
    * @param Multimedia_Models_Set $set
    * @return void
    **/
    public function updateSetName($set);

    /**
     * Update num image for set
     * @param: int $id Id of set
     * @param: int $num
     * @return: void
    **/
    public function updateNImage($id, $num, $operator = '+');

    /**
     * Remove file form set
     * @param: int $file_id Id of file
     * @return void
    **/
    public function removeFromSet($file_id);

    /**
     * Delete relationship enterprise and set
    **/
    public function deleteAlbum($id);
    
    public function mark($file_id);
    
    public function unmark($file_id);
    
    public function checkmark($file_id);
}
